<!--
 * @Author: LiZhiWei
 * @Date: 2025-07-14 16:28:16
 * @LastEditors: wjc
 * @LastEditTime: 2025-10-29 17:03:05
 * @Description: 
-->
<template>
  <Content :return-route="getReturnRoute()">
    <el-card shadow="hover">
      <div class="title">
        {{ model.one_wo_title }}
        <el-divider />
      </div>

      <div v-html="model.one_wo_html"></div>
    </el-card>
  </Content>
</template>

<script setup lang="ts">
  import { useShower } from '#/hooks/useShower'

  defineOptions({
    name: `OneWoShow`,
  })

  const entity = 'OneWo'

  const { model, fetchData, getReturnRoute } = useShower({
    entity,
    mode: 'page',
  })

  onMounted(() => {
    fetchData()
  })
</script>
<style lang="scss" scoped>
  .title {
    @apply text-6 font-bold;

    padding: 0 10px;

    .el-divider {
      margin: 20px 0;
    }
  }
</style>
